package com.dawn.module.cms.controller.admin.banner.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - Banner 广告位新增/修改 Request VO")
@Data
public class CmsBannerSaveReqVO {

    @Schema(description = "Banner 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4331")
    private Long id;

    @Schema(description = "Banner 标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "Banner 标题不能为空")
    private String title;

    @Schema(description = "图片 URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.ynzykj.net")
    @NotEmpty(message = "图片 URL不能为空")
    private String picUrl;

    @Schema(description = "跳转地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.ynzykj.net")
    @NotEmpty(message = "跳转地址不能为空")
    private String url;

    @Schema(description = "活动状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "活动状态不能为空")
    private Integer status;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "位置", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "位置不能为空")
    private Integer position;

    @Schema(description = "描述", example = "你猜")
    private String memo;

    @Schema(description = "Banner 点击次数", example = "19145")
    private Integer browseCount;

}